Skip to content

Biome Format#266

Merged
codebycarson merged 8 commits into
mainfrom
fix/biome-format
Jul 1, 2025
Merged

Biome Format#266
codebycarson merged 8 commits into
mainfrom
fix/biome-format

Conversation

@codebycarson

@codebycarson codebycarson commented Jul 1, 2025

Copy link
Copy Markdown
Collaborator

Runs biome format on all directories to make things consistent across PRs and dev environments for future development

@changeset-bot

changeset-bot Bot commented Jul 1, 2025

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a4de071

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@codecov-commenter

codecov-commenter commented Jul 1, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (d3c5624) to head (a4de071).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #266   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           67        67           
  Lines          763       763           
  Branches       128       128           
=========================================
  Hits           763       763           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@codebycarson codebycarson changed the title Fix/biome format Biome Format Jul 1, 2025
@codebycarson
codebycarson requested review from besated and Copilot July 1, 2025 01:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Runs biome format across all packages to standardize code style and ordering.

  • Swapped default imports to explicit type imports and reordered for consistency
  • Converted .forEach loops to for…of loops in tests
  • Normalized package.json arrays and updated import paths (node: specifiers)
  • Added a local biome.json in create-sei

Reviewed Changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated no comments.

Show a summary per file
File Description
packages/sei-global-wallet/src/lib/wallet.ts Switched to type import and reordered members
packages/sei-global-wallet/package.json Normalized typesVersions arrays
packages/registry/src/wallets/tests/index.spec.ts Replaced .forEach with for…of loops, added type
packages/registry/src/tokens/index.ts Changed to import type for Network
packages/registry/src/tokens/tests/index.spec.ts Replaced loops, added type for DenomUnit
packages/registry/src/networks/index.ts Changed to import type for Network
packages/registry/src/networks/tests/index.spec.ts Replaced loops with for…of
packages/registry/src/ibc/index.ts Changed to import type for Network
packages/registry/src/ibc/tests/index.spec.ts Replaced loops with for…of
packages/registry/src/gas/index.ts Changed to import type for Network
packages/registry/src/gas/tests/index.spec.ts Replaced loops with for…of
packages/registry/package.json Normalized files and keywords arrays
packages/precompiles/src/ethers/distributionPrecompile.ts Reordered imported constants
packages/precompiles/src/ethers/addressPrecompile.ts Reordered ethers imports
packages/precompiles/package.json Normalized keywords array
packages/ledger/src/cosmos/seiLedgerOfflineAminoSigner.ts Consolidated type imports
packages/ledger/package.json Normalized files and keywords arrays
packages/create-sei/src/main.ts Updated node: imports, regex, loops, strict equality
packages/create-sei/biome.json Added local Biome config
Comments suppressed due to low confidence (2)

packages/create-sei/src/main.ts:89

  • The updated regex no longer excludes control characters (e.g., \x00-\x1F), which can lead to invalid directory names slipping through. Consider re-adding that range to the pattern to block non-printable characters.
	const illegalRe = /[<>:"/\\|?*]/g;

packages/create-sei/src/main.ts:98

  • [nitpick] This comment is redundant because the subsequent if already covers these checks; you may remove it or update it to explain any non-obvious rationale.
	// Check for illegal characters, Windows reserved names, trailing spaces/dots

@codebycarson
codebycarson marked this pull request as ready for review July 1, 2025 01:13
@codebycarson
codebycarson merged commit 311d09b into main Jul 1, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants